<template>
  <div></div>
</template>
 
<script lang='ts'>
import { Component, Vue } from "vue-property-decorator";
@Component({
  layout: "blank",
  async mounted() {
    const {
      status,
      data: { code }
    } = await this.$axios.get("/users/exit");
    console.log(status, code);
    if (status === 200 && code === 0) {
      this.$router.replace('/')
    }
  }
})
export default class extends Vue {}
</script>
<style lang='scss' scoped>
</style>